package com.zmn.oms.persistence.interfaces.distribute;

import com.zmn.oms.model.entity.distribute.OrderPreDistributeRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName DistributeRecordDao
 * @description:
 * @author: wangyanci
 * @create: 2021-12-17 18:02
 * @Version 1.0
 **/
public interface PreDistributeRecordDao {

    OrderPreDistributeRecord findOrderPreDistributeRecordByKey(@Param("preDistributeId") Long preDistributeId, @Param("orderId") Long orderId);

    List<OrderPreDistributeRecord> findOrderPreDistributeRecordByQuery(OrderPreDistributeRecord distributeRecord);

    int insertOrderPreDistributeRecord(OrderPreDistributeRecord orderPreDistributeRecord);

    int updateByPrimaryKeySelective(OrderPreDistributeRecord orderPreDistributeRecord);
}
